package com.qf.common.domain.admin.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.qf.common.domain.admin.dos.SysMenu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author sin
* @description 针对表【sys_menu(菜单管理)】的数据库操作Mapper
* @createDate 2024-10-12 16:52:40
* @Entity com.qf.admin.domain.entity.system.SysMenu
*/
@Mapper
public interface SysMenuMapper extends BaseMapper<SysMenu> {

    List<SysMenu> listMenu(@Param(Constants.WRAPPER) Wrapper wrapper);

    SysMenu selectByParentId(@Param("pid") Long pid);

    List<SysMenu> selectMenuOptions();

    List<String> selectPermByPathAndType(String path, Integer type);
}




